package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 活动基础表
 */
@Data
@NoArgsConstructor
@TableName(value = "sc_mall_draw_activity_base")
public class MallDrawActivityBase extends SuperEntity implements Serializable {

    /**
     * 活动名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 活动开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 活动结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 排序
     */
    @TableField(value = "sort_order")
    private Integer sortOrder;

    /**
     * 活动封面图片URL
     */
    @TableField(value = "cover_image_url")
    private String coverImageUrl;

    /**
     * 活动规则图片URL
     */
    @TableField(value = "rule_image_url")
    private String ruleImageUrl;

    /**
     * 是否开启：0关闭，1开启
     */
    @TableField(value = "enabled")
    private Boolean enabled;
    
}